package com.koocloud.electroplatemanage.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.LinkedHashMap;
import java.util.List;

@Mapper
public interface ProductCompletedMapper {

    //通过工单号查询一条记录
    LinkedHashMap selectByWorkOrderNumber(String workOrderNumber);

    //查询所有记录
    List<LinkedHashMap> selectAllData(String idOrName);

    //查询工单号记录数
    int selectWorkOrderNumberCount(String workOrderNumber);

    //插入一条记录
    int insert(LinkedHashMap linkedHashMap);

    //修改一条记录
    int update(LinkedHashMap linkedHashMap);

    //进入下一步的状态
    int changeState(String workOrderNumber);
}
